package com.sz.designpattern.behavior11.mediator;

//售房者
public class Landlord extends Person{

    public Landlord(HouseMediator mediator) {
        super(mediator);
    }

    @Override
    public void send(String msg) {
        System.out.println("Landlord.send");
        mediator.notice(this,msg);
    }

    @Override
    public void getNotice(String msg) {
        System.out.println("Landlord.getNotice " + msg);
    }
}
